with open('messeage.log', mode='a', encoding='utf-8') as f:
    f.write('abc ')